Skip to content

Fix duplicated words in Draft and Active PEPs - #5223

Merged
StanFromIreland merged 7 commits into
python:mainfrom
Dhairya-007:fix/duplicated-words-draft-active
Nov 8, 2026
Merged

StanFromIreland merged 7 commits into
python:mainfrom
Dhairya-007:fix/duplicated-words-draft-active

Conversation

@Dhairya-007

Copy link
Copy Markdown
Contributor

Eight accidentally duplicated words, one commit per PEP:

PEP Status
1 Active "so long as the the following criteria"
1 Active "the time when when Python was led by a BDFL"
653 Draft "should ensure that the the values of __match_container__"
720 Draft "a decent overview of of environment details"
776 Active "as well as in in web pages"
786 Draft "by extending the the leading digit as a prefix"
818 Draft "We define define makePythonFunction as follows"
824 Draft "for their their "Nil-Coalescing" and "Elvis" operators"

These are all plain repetitions — no wording, meaning or markup changes.

CONTRIBUTING.rst advises against mass-correcting minor typos on older PEPs and
welcomes copyediting of Draft and Active PEPs, so I deliberately restricted this
to Draft and Active ones. The same scan does turn up duplications in Final,
Rejected and Withdrawn PEPs; I left every one of those alone.

I also checked and left alone the cases where the repetition is correct:

  • PEP 817 — "vetted as opt-in in installers" ("opt-in" + "in installers").
  • PEP 824 — the cross-reference to the section "Require parentheses when mixing
    ?? with and and or", where "and and or" means and and or.
  • PEP 839 — typedef struct PyFrozenSetWriter PyFrozenSetWriter; and the
    matching PyFrozenDictWriter line, which are valid C.
  • Table rows and deliberate code samples such as PEP 492's await await coro()
    and PEP 3136's break break.

python3 check-peps.py passes on all seven files.

"so long as the the following criteria" and "the time when when Python was
led by a BDFL".
"should ensure that the the values of ``__match_container__``".
"should give a decent overview of of environment details".
"as well as in in web pages that are not served with the shared memory
headers".
"one can always extend a signed number's binary representation by extending
the the leading digit as a prefix".
"both Swift and Kotlin for their their "Nil-Coalescing" and "Elvis"
operators respectively".
"We define define ``makePythonFunction`` as follows".
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #35738486 | 📁 Comparing cf80a01 against latest (d94bba4)

  🔍 Preview build  

7 files changed · ± 7 modified

± Modified

@StanFromIreland
StanFromIreland merged commit dfc3d95 into python:main Nov 8, 2026
5 checks passed
@Dhairya-007
Dhairya-007 deleted the fix/duplicated-words-draft-active branch November 8, 2026 19:58
@Dhairya-007

Copy link
Copy Markdown
Contributor Author

@StanFromIreland would you mind taking a look? Scope is deliberately limited to Draft and Active PEPs, per CONTRIBUTING.rst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants